/*
 * @(#)LoginForm.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.framework.web;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;

import com.dcivision.framework.bean.AbstractBaseObject;

/**
  LoginForm.java

  This class is a form for login.

    @author          Scott Tong
    @company         DCIVision Limited
    @creation date   15/07/2003
    @version         $Revision: 1.9 $
*/

public class LoginForm extends AbstractActionForm {

  public static final String REVISION = "$Revision: 1.9 $";


  /** Holds value of property loginName. */
  private String loginName;

  /** Holds value of property loginPwd. */
  private String loginPwd;

  /** Holds value of property action. */
  private String action;

  /** Holds value of property url. */
  private String url;

  /** Holds value of property userID. */
  private String userID;

  /** Holds value of property updateFailedAttemptFlag. */
  private String updateFailedAttemptFlag;

  /** Holds value of property url. */
  private String clientScreenWidth;

  public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
    return super.validate(mapping, request);
  }

  public void reset(ActionMapping mapping, HttpServletRequest request) {
    super.reset(mapping, request);
  }

  /** Getter for property loginName.
   * @return Value of property loginName.
   */
  public String getLoginName() {
    return this.loginName;
  }

  /** Setter for property loginName.
   * @param loginName New value of property loginName.
   */
  public void setLoginName(String loginName) {
    this.loginName = loginName;
  }

  /** Getter for property loginPwd.
   * @return Value of property loginPwd.
   */
  public String getLoginPwd() {
    return this.loginPwd;
  }

  /** Setter for property loginPwd.
   * @param loginPwd New value of property loginPwd.
   */
  public void setLoginPwd(String loginPwd) {
    this.loginPwd = loginPwd;
  }

  /** Getter for property action.
   * @return Value of property action.
   */
  public String getAction() {
    return action;
  }

  /** Setter for property action.
   * @param action New value of property action.
   */
  public void setAction(String action) {
    this.action = action;
  }

  /** Getter for property url.
   * @return Value of property url.
   */
  public String getUrl() {
    return url;
  }

  /** Setter for property url.
   * @param action New value of property url.
   */
  public void setUrl(String url) {
    this.url = url;
  }

  /** Getter for property userID.
   * @return Value of property userID.
   */
  public String getUserID() {
    return userID;
  }

  /** Setter for property userID.
   * @param action New value of property userID.
   */
  public void setUserID(String userID) {
    this.userID = userID;
  }

  /** Getter for property updateFailedAttemptFlag.
   * @return Value of property updateFailedAttemptFlag.
   */
  public String getUpdateFailedAttemptFlag() {
    return updateFailedAttemptFlag;
  }

  /** Setter for property updateFailedAttemptFlag.
   * @param action New value of property updateFailedAttemptFlag.
   */
  public void setUpdateFailedAttemptFlag(String updateFailedAttemptFlag) {
    this.updateFailedAttemptFlag = updateFailedAttemptFlag;
  }

  /** Getter for property clientScreenWidth.
   * @return Value of property clientScreenWidth.
   */
  public String getClientScreenWidth() {
    return clientScreenWidth;
  }

  /** Setter for property clientScreenWidth.
   * @param action New value of property clientScreenWidth.
   */
  public void setClientScreenWidth(String clientScreenWidth) {
    this.clientScreenWidth = clientScreenWidth;
  }

  public AbstractBaseObject getFormData() {
    return null;
  }

  public void setFormData(AbstractBaseObject obj) {
  }

}
